package com.hp.tiger.chapter5;

/**
 * @author XavierDong
 **/
public class Client {

    public static void main(String[] args) {
        final Gate gate = new Gate();
        final User bj = new User("Baobao", "Beijing", gate);
        final User sh = new User("Shanglao", "Shanghai", gate);
        final User gz = new User("Guanglao", "Guangzhou", gate);
        bj.start();
        sh.start();
        gz.start();
    }
}
